<?php /* Smarty version Smarty-3.1.13, created on 2013-06-17 19:23:00
         compiled from "/var/www/html/insite/templates/en/reports/emails.tpl" */ ?>
<?php /*%%SmartyHeaderCode:298825951bef194dcbcf9-12690494%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1c72c5e8eed8e5a095b395f78fd005ebd8e4c749' => 
    array (
      0 => '/var/www/html/insite/templates/en/reports/emails.tpl',
      1 => 1371467829,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '298825951bef194dcbcf9-12690494',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'msg' => 0,
    'action' => 0,
    'time_start' => 0,
    'time_end' => 0,
    'summaries' => 0,
    'summary' => 0,
    'paging' => 0,
    'total' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_51bef194ed7f73_47478024',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51bef194ed7f73_47478024')) {function content_51bef194ed7f73_47478024($_smarty_tpl) {?>
<style>
form {
	margin: 0;
	padding: 0;
}
</style>
 
<!-- Content Area -->
<div id="content"> 
  
  <!-- Component Title -->
  <div class="pagetitle icon-48-module">
    <h2>Manager: EMAILS</h2>
  </div>
  
  <!-- System Messages -->
  
  <div id="system-message-container"> <?php if ($_smarty_tpl->tpl_vars['msg']->value){?>
    <dl id="system-message">
      <dt class="message">Message</dt>
      <dd class="message message">
        <ul>
          <li><?php echo $_smarty_tpl->tpl_vars['msg']->value;?>
</li>
        </ul>
      </dd>
    </dl>
    <?php }?> </div>
  
  <!-- Sub Menu Navigation -->
  <div class="subheader">
    <h3 class="element-invisible">Sub Menu</h3>
    <div id="no-submenu"></div>
  </div>
  
  <!-- Toolbar Icon Buttons -->
  <div class="actionbar-box">
    <div class="module">
      <h3>Toolbar</h3>
      <div class="actionbar-list">
        
        <div class="clr"></div>
      </div>
    </div>
    <div class="clr"></div>
  </div>
  
  <!-- Beginning of Actual Content -->
  <div id="element-box">
    <p id="skiptargetholder"><a id="skiptarget" class="skip" tabindex="-1"></a></p>
    <form name="frmAdmin" action="<?php echo $_smarty_tpl->tpl_vars['action']->value;?>
" method="post">
      <fieldset id="filter-bar">
        <legend class="element-invisible">Filter:</legend>
        <div class="filter-search">
          <label class="filter-search-lbl" for="filter_search">Filter:</label>
          Start Date(dd-mm-yyyy): <input type="text" name="time_start" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['time_start']->value, ENT_QUOTES, 'UTF-8', true);?>
"  title="Search in time_start." />
          End Date(dd-mm-yyyy): <input type="text" name="time_end" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['time_end']->value, ENT_QUOTES, 'UTF-8', true);?>
"  title="Search in time_end." />
          <button type="submit">Search</button>
        </div>
      </fieldset>
      <div class="clr"> </div>
      <table class="adminlist">
        <thead>
          <tr>
            <th class="checkmark-col"> <!--<input type="checkbox" name="checkall-toggle" value="" title="Check All"  onclick="checkAll(this);"  />-->
            </th>
            <th class="width-20"> <a href="#">Date</a> </th>
            <th class="width-60"> <a href="#" >From Email</a> </th>
            <th class="width-60"> <a href="#" >To Email</a> </th>
            <th class="width-20"> <a href="#" >Notice</a> </th>
          </tr>
        </thead>
        <tbody>
        
        <?php if ($_smarty_tpl->tpl_vars['summaries']->value){?>  
        <?php  $_smarty_tpl->tpl_vars['summary'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['summary']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['summaries']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['summary']->key => $_smarty_tpl->tpl_vars['summary']->value){
$_smarty_tpl->tpl_vars['summary']->_loop = true;
?>
          <tr <?php if ($_smarty_tpl->tpl_vars['summary']->value['row']){?> class="row1" <?php }else{ ?> class="row0" <?php }?>>
          <td class="center"></td>
          <td class="center"><?php echo $_smarty_tpl->tpl_vars['summary']->value['time_started'];?>
</td>
          <td class="center"><?php echo $_smarty_tpl->tpl_vars['summary']->value['mail_from'];?>
</td>
          <td class="center"><?php echo $_smarty_tpl->tpl_vars['summary']->value['rcpt_to'];?>
</td>
          <td class="center"><?php echo $_smarty_tpl->tpl_vars['summary']->value['resp_msg'];?>
</td>
        </tr>
        <?php } ?>               
        <?php }else{ ?>
        <?php }?>
          </tbody>
        
      </table>
      <div class="limit"><?php echo $_smarty_tpl->tpl_vars['paging']->value;?>
</div>
      <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['total']->value;?>
" name="total"  />
      <input type="hidden" value="" name="task"  />
    </form>
    <div class="clr"></div>
  </div>
  <!-- end of element-box -->
  
  <noscript>
  Warning! JavaScript must be enabled for proper operation of the Administrator backend.
  </noscript>
  <div class="clr"></div>
</div>
<!-- end of content --> 
<?php }} ?>